package com.miao.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.miao.admin.dao.AdminCustomerDao;
import com.miao.admin.entity.vo.CustomerVO;
import com.miao.common.entity.pojo.Customer;
import com.miao.admin.service.AdminCustomerService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 顾客信息表(Customer)表服务实现类
 *
 * @author MiaoWenqing
 * @since 2021-02-02 21:17:57
 */
@Service("customerService")
public class AdminCustomerServiceImpl extends ServiceImpl<AdminCustomerDao, Customer> implements AdminCustomerService {

    @Resource
    private AdminCustomerDao adminCustomerDao;


    @Override
    public List<CustomerVO> cusAll() {

        return this.adminCustomerDao.cusAll();
    }
}